package com.yixin.hospital.entity.dto.req.jobduty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel("授予职务菜单请求体")
@Data
public class AuthJobDutyMenuReqDTO {

    @ApiModelProperty("职务id")
    @NotNull(message = "职务id不能为空")
    private Long jobDutyId;

    @ApiModelProperty("菜单id")
    @NotNull(message = "菜单id不能为空")
    private Long menuId;
}
